#ifndef _commands_h
#define _commands_h

#include "utils.h"
#include "simpio.h"
#include "strlib.h"
#include "symtab.h"
#include "eval.h"
#include "parser.h"
#include "exception.h"

typedef void(*commandFnT) (lineT line);

typedef struct {
	commandFnT fn;
} *commandEntryT;

void initCommandTable(void);
bool runnableLine(lineT line);
void executeCommand(lineT line);

#endif